package model

import (
	"time"
)

type AuCarProcedure struct {
	ProId                   int       `xorm:"not null pk autoincr INT(10)"`
	CarId                   int       `xorm:"not null index INT(10)"`
	VerifyExpiry            time.Time `xorm:"not null DATE"`
	ComInsureExpiry         time.Time `xorm:"not null DATE"`
	ComInsureExpiryRemark   string    `xorm:"VARCHAR(100)"`
	ComInsureCity           string    `xorm:"not null VARCHAR(100)"`
	ComInsureCityRemark     string    `xorm:"VARCHAR(100)"`
	CarTaxExpiry            time.Time `xorm:"not null DATE"`
	CarTaxExpiryRemark      string    `xorm:"VARCHAR(30)"`
	PurTaxCert              int       `xorm:"not null TINYINT(1)"`
	ImportCustomsList       int       `xorm:"not null TINYINT(1)"`
	CommodityInspectionList int       `xorm:"not null TINYINT(1)"`
	MaintainMan             int       `xorm:"not null TINYINT(1)"`
	IllDeducPoint           float64   `xorm:"not null DOUBLE(10)"`
	Forfeit                 float64   `xorm:"not null DOUBLE(10,2)"`
	Nameplate               int       `xorm:"not null TINYINT(1)"`
	AppearChange            int       `xorm:"not null SMALLINT(3)"`
	BakKey                  int       `xorm:"not null TINYINT(1)"`
	Invoice                 string    `xorm:"not null VARCHAR(30)"`
	InvoiceRemark           string    `xorm:"not null VARCHAR(10)"`
	TransferTicket          int       `xorm:"not null SMALLINT(3)"`
	ProtocolPic             string    `xorm:"not null VARCHAR(200)"`
	CarType                 int       `xorm:"not null SMALLINT(3)"`
	IsTravelLicense         int       `xorm:"not null TINYINT(1)"`
	TravelLicensePic        string    `xorm:"VARCHAR(200)"`
	TravelLicensePic2       string    `xorm:"not null VARCHAR(200)"`
	TravelLicensePic3       string    `xorm:"not null VARCHAR(200)"`
	TravelLicenseInCharge   int       `xorm:"not null TINYINT(1)"`
	IsRegCert               int       `xorm:"not null TINYINT(1)"`
	RegCertPic              string    `xorm:"not null VARCHAR(200)"`
	RegCertPic2             string    `xorm:"not null VARCHAR(200)"`
	RegCertPic3             string    `xorm:"not null VARCHAR(200)"`
	RegCertInCharge         int       `xorm:"not null TINYINT(1)"`
	IsEqual                 int       `xorm:"not null SMALLINT(3)"`
	GetMethod               int       `xorm:"not null SMALLINT(3)"`
	RemarkInRegCert         string    `xorm:"not null TEXT"`
	BrandModel              string    `xorm:"not null VARCHAR(10)"`
}
